import request from "@/utils/request";

// 查询专项监督列表
export function listBizZhuanxiangAssess(query) {
  return request({
    url: "/biz/bizZhuanxiangAssess/list",
    method: "get",
    params: query,
  });
}

// 查询专项监督详细
export function getBizZhuanxiangAssess(id) {
  return request({
    url: "/biz/bizZhuanxiangAssess/" + id,
    method: "get",
  });
}

// 新增专项监督
export function addBizZhuanxiangAssess(data) {
  return request({
    url: "/biz/bizZhuanxiangAssess",
    method: "post",
    data: data,
  });
}

// 修改专项监督
export function updateBizZhuanxiangAssess(data) {
  return request({
    url: "/biz/bizZhuanxiangAssess",
    method: "put",
    data: data,
  });
}

// 删除专项监督
export function delBizZhuanxiangAssess(id) {
  return request({
    url: "/biz/bizZhuanxiangAssess/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizZhuanxiangAssess/findMaxSort",
    method: "get",
  });
}
// 导出专项监督
export function exportBizZhuanxiangAssess(query) {
  return request({
    url: "/biz/bizZhuanxiangAssess/export",
    method: "get",
    params: query,
  });
}
